﻿using UnityEngine;

namespace Jinndev {

    /// <summary>
    /// 可回收对象，用于自定义回收逻辑
    /// </summary>
    public interface IRecyclable {

        /// <summary>
        /// 被回收时自动调用
        /// </summary>
        void OnRecycle();

        GameObject gameObject { get; }
        Transform transform { get; }

    }


}